<template>
  <div class="dashboard-container">
    <div class="app-container">
      <el-card>
        <el-tabs >
          <el-tab-pane label="员工详情">
            <el-row type="flex" justify="end">
              <el-tooltip content="打印个人基本信息">
                <!-- <router-link> -->
                  <i class="el-icon-printer" />
                <!-- </router-link> -->
              </el-tooltip>
            </el-row>

            <!-- 跳转按钮 -->
            <user-info />
          </el-tab-pane>
          <el-tab-pane label="岗位信息">
            <!-- 跳转按钮 -->
            <el-row type="flex" justify="end">
              <el-tooltip content="打印岗位信息">
                <!-- <router-link> -->
                  <i class="el-icon-printer" />
                <!-- </router-link> -->
              </el-tooltip>
            </el-row>
            <job-info />
          </el-tab-pane>
        </el-tabs>
      </el-card>
    </div>
  </div>
</template>

<script>
import UserInfo from "./detail/UserInfo.vue";
import JobInfo from "./detail/JobInofo.vue";
export default {
  data() {
    return {
      selectedTab:''
    }
  },
  components: {
    UserInfo,
    JobInfo,
  },
 
};
</script>



